package view

import entity.MyContract
import javafx.scene.layout.StackPane
import javafx.scene.web.WebView
import tornadofx.*
import java.io.File


class AboutView : View("关于") {
    override val root: StackPane by fxml()
    val webView: WebView by fxid("webView")

    init {
        currentStage?.isResizable = false
        webView.engine.load("file:${File(MyContract.ABOUT_PAGE_URL).absolutePath}")
    }
}

